package demo;

import java.io.FileOutputStream;

public class FOSDemo {
    public static void main(String[] args) {
        try {
            FileOutputStream fos=new FileOutputStream("fos.dat");
            fos.write(1);
            fos.close();
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}
